package table;

import java.util.List;

/**
 * @author 陈思威
 *专门用来放通过图书编号查找的图书信息的表中的字段
 */
public class BarCodeAndBook {
	private int bookId;
	private String bookName;
	private String bookWriter;
	private String bookPublishingHouse;
	private String bookCallNumber;
	private double bookPrice;
	private String bookIsbn;
	private String bookStatus;
	private int barCodeId;
	public BarCodeAndBook(int bookId,String bookName, String bookWriter, String bookPublishingHouse, String bookCallNumber,
			 double bookPrice, String bookIsbn, String bookStatus, int barCodeId) {
		super();
		this.bookId = bookId;
		this.bookName = bookName;
		this.bookWriter = bookWriter;
		this.bookPublishingHouse = bookPublishingHouse;
		this.bookCallNumber = bookCallNumber;
		this.bookPrice = bookPrice;
		this.bookIsbn = bookIsbn;
		this.bookStatus = bookStatus;
		this.barCodeId = barCodeId;
	}
	public BarCodeAndBook() {
		super();
		// TODO Auto-generated constructor stub
	}
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getBookWriter() {
		return bookWriter;
	}
	public void setBookWriter(String bookWriter) {
		this.bookWriter = bookWriter;
	}
	public String getBookPublishingHouse() {
		return bookPublishingHouse;
	}
	public void setBookPublishingHouse(String bookPublishingHouse) {
		this.bookPublishingHouse = bookPublishingHouse;
	}
	public String getBookCallNumber() {
		return bookCallNumber;
	}
	public void setBookCallNumber(String bookCallNumber) {
		this.bookCallNumber = bookCallNumber;
	}
	public double getBookPrice() {
		return bookPrice;
	}
	public void setBookPrice(double bookPrice) {
		this.bookPrice = bookPrice;
	}
	public String getBookIsbn() {
		return bookIsbn;
	}
	public void setBookIsbn(String bookIsbn) { 
		this.bookIsbn = bookIsbn;
	}
	public String getBookStatus() {
		return bookStatus;
	}
	public void setBookStatus(String bookStatus) {
		this.bookStatus = bookStatus;
	}
	public int getBarCodeId() {
		return barCodeId;
	}
	public void setBarCodeId(int barCodeId) {
		this.barCodeId = barCodeId;
	}
	@Override
	public String toString() {
		return "BarCodeAndBook [bookId=" + bookId + ", bookName=" + bookName + ", bookWriter=" + bookWriter
				+ ", bookPublishingHouse=" + bookPublishingHouse + ", bookCallNumber=" + bookCallNumber
				+ ", bookNumber=" + bookPrice + ", bookIsbn=" + bookIsbn + ", bookStatus="
				+ bookStatus + ", barCodeId=" + barCodeId + "]";
	}

}
